<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8"/>
    <title>Title</title>

    <link rel="stylesheet" type="text/css" href="js/jquery-easyui-1.7.0/themes/default/easyui.css"/>
    <link rel="stylesheet" type="text/css" href="js/jquery-easyui-1.7.0/themes/icon.css"/>
    <link rel="stylesheet" type="text/css" href="js/jquery-easyui-1.7.0/themes/color.css"/>
    <link rel="stylesheet" type="text/css" href="js/jquery-easyui-1.7.0/demo/demo.css"/>
    <script type="text/javascript" src="js/jquery-easyui-1.7.0/jquery.min.js"></script>
    <script type="text/javascript" src="js/jquery-easyui-1.7.0/jquery.easyui.min.js"></script>
    <script type="text/javascript" src="js/jquery.cookie.js"></script>

    <script type="text/javascript" src="js/api/api.js"></script>
    <script type="text/javascript" src="js/pages/dictManage.js"></script>

    <style>
        html{
            height:100%;
        }
        body{
            height:100%;
            padding: 0;
        }



    </style>
</head>
<body>
<div>
    <table id="dictDataGrid" data-options="toolbar:'#dictManageTB'"></table>
</div>

<div id="dictManageTB" style="padding:2px 5px;">
    <div>
        字典名称:<input id="dictLabelCBBox" class="easyui-combobox" style="width:110px"/>
        <a href="javascript:void(0)" onclick="searchDictList()" class="easyui-linkbutton"
           iconCls="icon-search">查询</a>
    </div>
    <div>
        <a href="javascript:void(0)" onclick="addDictWindowOpen()" title="添加字典"
           class="easyui-linkbutton" iconCls="icon-add" plain="true">添加</a>
        <a href="javascript:void(0)" onclick="editDictWindowOpen()" title="编辑字典"
           class="easyui-linkbutton" iconCls="icon-edit" plain="true">编辑</a>
        <a href="javascript:void(0)" onclick="remoceDict()" title="删除字典" class="easyui-linkbutton"
           iconCls="icon-remove" plain="true">删除</a>
    </div>
</div>

<!-- 添加字典窗口 -->
<div id="addDictWindow" class="easyui-window" data-options="iconCls:'icon-add',modal:true"
     style="padding:20px;">
    <form id="addDictForm" class="easyui-form" method="post" data-options="novalidate:true">
        <div style="margin-bottom:20px;">
            <input id="id" class="easyui-textbox" name="id" style="width:100%;"
                   data-options="label:'字典ID:'"/>
        </div>
        <div style="margin-bottom:20px;">
            <input id="dictCode" class="easyui-textbox" name="dictCode" style="width:100%;"
                   data-options="label:'字典编码:',required:true"/>
        </div>
        <div style="margin-bottom:20px;">
            <input id="dictValue" class="easyui-textbox" name="dictValue" style="width:100%;"
                   data-options="label:'字典值:',required:true"/>
        </div>
        <div style="margin-bottom:20px;">
            <input id="dictLabel" class="easyui-textbox" name="dictLabel" style="width:100%;"
                   data-options="label:'字典名称:',required:true"/>
        </div>
    </form>
    <div style="text-align:center;padding:5px 0">
        <a href="javascript:void(0)" class="easyui-linkbutton" id="submitDictForm" onclick="submitDictForm()"
           style="width:80px">添加</a>
        <a href="javascript:void(0)" class="easyui-linkbutton" id="submitEditDictForm" onclick="submitEditDictForm()"
           style="width:80px">编辑</a>
        <a href="javascript:void(0)" class="easyui-linkbutton" onclick="clearDictForm()"
           style="width:80px">清空</a>
    </div>

</div>
</body>
</html>